import mcpi.minecraft as minecraft
import mcpi.block as block
#mc = minecraft.Minecraft.create('192.168.1.7')
mc = minecraft.Minecraft.create()
allIds = mc.getPlayerEntityIds()
x, y, z = mc.entity.getTilePos(allIds[0])
#mc.entity.setPos(allIds[0],0,0,0)

mc.setBlocks(x-30,y,z-30,x+30,y-2,z+30,block.GRASS)
